<!DOCTYPE html>
<html>
  <head>
    <title><%= title %></title>
    <link rel='stylesheet' href='/stylesheets/style.css' />
  </head>
  <body>
    <%- include('head', {title:'首页 '}) %>
    <h1><%= title %></h1>
    <p>Welcome to <%= title %></p>
    <p>wh2114 - 天道酬勤</p>
    <h2>
      count === <%= count  %>
    </h2>
    <p>
      word --  <%= word %>
    </p>
    <h1>
      msg -- <%= msg %>
    </h1>
   
    <div>
       <%- html %>
    </div>
    <hr>
    <% if(username){  %>
      <div>
        
        <h2>
          username == <%- username %>
        </h2>
        <h2>用户详情</h2>
      </div>
   <%   }else{  %> 
      <button>点击登录</button>
      <button>点击注册</button>
    <%  }  %> 

    <div>
    <%  list.forEach((item,index)=>{  %>
        <h2> <%- item%> --- <%- index %> </h2>
     <% })  %>
    </div>

    <%- include('foot')  %>
    <%- include foot  %>
  </body>
</html>
